<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="/common/backcommon.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Breaking Fast</title>
	</head>
	<body>
		<div class="cms_right">
		  	<div class="cms_title">
		    	<span>套餐管理：详情</span>
	    	</div>
		    <div class="cms_search">
				<table width="1000" border="0" class="search_bd">
		          	<tr>
			            <td class="yh_name">中文套餐名：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${combo.combochname }" readonly /></td>
			            <td class="tishi"></td>
			            <td class="yh_name">英文套餐名：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" value="${combo.comboenname }" readonly /></td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">单价：</td>
			            <td class="yh_bd"><input type="text" class="cms_text02" maxlength="4" value="${combo.price }" readonly /></td>
			            <td class="tishi"></td>
			            <td class="yh_name">热量(千卡)：</td>
			            <td class="yh_bd"><input type="text" id="hot" name="hot" class="cms_text02" value="${combo.hot}" readonly/></td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
			            <td class="yh_name">图片：</td>
			            <td class="yh_bd" colspan="4"><img src="${base }${combo.photo }" width="380" height="250"></td>
			            <td class="tishi"></td>
		            </tr>
		          	<tr>
			            <td class="yh_name">营养信息：</td>
			            <td class="yh_bd" colspan="4">
			            	<textarea rows="3" cols="100" style="border:1px solid #a0a0a0;resize:none" readonly>${combo.nutritioninfo }</textarea>
			            </td>
			            <td class="tishi"></td>
		          	</tr>
		          	<tr>
		          		<td colspan="6">
		          			<table id="pageList" class="items" width="100%" border="1" cellspacing="0" cellpadding="0">
								<tr class="list_tab_title">
									<td bgcolor="#eae9eb">菜名</td>
									<td bgcolor="#eae9eb">单价</td>
									<td bgcolor="#eae9eb">数量</td>
									<td bgcolor="#eae9eb">类型</td>
								</tr>
								<c:forEach items="${comboDishList}" var="comboDish">
									<tr >
										<td>${comboDish.dish.dishchname }</td>
										<td>${comboDish.dish.price }</td>
										<td>${comboDish.dishcount }</td>
										<td>${comboDish.dish.dishtype.typechname }</td>
									</tr>
								</c:forEach>
							</table>
		          		</td>
		          	</tr>
		          	<tr>
			            <td></td>
			            <td></td>
			            <td align="center"><input type="button" class="search_btn" onclick="location.href='${base}/background/combo/combolist.jsp'" value="返回" /></td>
			            <td></td>
			            <td></td>
			            <td></td>
					</tr>
				</table>
			</div>
		</div>
	</body>
</html>
	